@layout("/common/_container.html",{bg:"bg-white",js:["/assets/modular/goodsCategory/goodsCategory_add.js"]}){
<form id="goodsCategoryForm" lay-filter="goodsCategoryForm" class="layui-form model-form">
    <input name="id" type="hidden"/>
    <div class="layui-form-item">
        <label class="layui-form-label">商品id<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input id="goodsId" name="goodsId" placeholder="请输入商品id" type="text" class="layui-input" lay-verify="required" required/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">分类id<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input id="categoryId" name="categoryId" placeholder="请输入分类id" type="text" class="layui-input" lay-verify="required" required/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">分类排序 从1开始<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input id="weights" name="weights" placeholder="请输入分类排序 从1开始" type="text" class="layui-input" lay-verify="required" required/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">乐观锁<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input id="revision" name="revision" placeholder="请输入乐观锁" type="text" class="layui-input" lay-verify="required" required/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">创建时间<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input id="createTime" name="createTime" placeholder="请输入创建时间" type="text" class="layui-input" lay-verify="required" required/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">更新时间<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input id="updateTime" name="updateTime" placeholder="请输入更新时间" type="text" class="layui-input" lay-verify="required" required/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">记录状态 默认：0已删除、1：正常<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input id="recordStatus" name="recordStatus" placeholder="请输入记录状态 默认：0已删除、1：正常" type="text" class="layui-input" lay-verify="required" required/>
        </div>
    </div>
    <div class="layui-form-item text-right">
        <button class="layui-btn layui-btn-primary" type="button" ew-event="closeDialog">取消</button>
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>保存</button>
    </div>
</form>
@}